
<!-- @dana Tubeileh & @hadeer ahmed 

this the page where the exercise's creator enters the name of the exercise and how he'she likes the questions to appear  -->
#{extends 'main.html' /} #{set title:'Home' /}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<form action="@{Exercises.createExercise()}" method="GET">

		
		<h1>
			Enter Exercise Name:</h1>
			<span style="color: #c00" class="error">#{error 'exercisename' /}</span><br> 
			<input type="text" name="exercisename" />
		
		<br>
		<h1>How do you like the questions to appear?</h1>
		</br> <select name="type" id="mytype">
			<option>in order</option>
			<option>random</option>

		</select>
		<button name="entername" type="submit" value="${tutorial.id}">start</button>

	</form>


</body>
</html>
